home *** CD-ROM | disk | FTP | other *** search
/ Windows Game Programming for Dummies (2nd Edition) / WinGamProgFD.iso / mac / DirectX SDK / DXSDK / include / dshowasf.h < prev    next >
C/C++ Source or Header  |  2001-10-08  |  10KB  |  330 lines

  1.  
  2. #pragma warning( disable: 4049 )  /* more than 64k source lines */
  3.  
  4. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  5.  
  6.  
  7.  /* File created by MIDL compiler version 6.00.0338 */
  8. /* Compiler settings for dshowasf.idl:
  9.     Oicf, W1, Zp8, env=Win32 (32b run)
  10.     protocol : dce , ms_ext, c_ext, robust
  11.     error checks: allocation ref bounds_check enum stub_data 
  12.     VC __declspec() decoration level: 
  13.          __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  14.          DECLSPEC_UUID(), MIDL_INTERFACE()
  15. */
  16. //@@MIDL_FILE_HEADING(  )
  17.  
  18.  
  19. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  20. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  21. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  22. #endif
  23.  
  24. #include "rpc.h"
  25. #include "rpcndr.h"
  26.  
  27. #ifndef __RPCNDR_H_VERSION__
  28. #error this stub requires an updated version of <rpcndr.h>
  29. #endif // __RPCNDR_H_VERSION__
  30.  
  31. #ifndef COM_NO_WINDOWS_H
  32. #include "windows.h"
  33. #include "ole2.h"
  34. #endif /*COM_NO_WINDOWS_H*/
  35.  
  36. #ifndef __dshowasf_h__
  37. #define __dshowasf_h__
  38.  
  39. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  40. #pragma once
  41. #endif
  42.  
  43. /* Forward Declarations */ 
  44.  
  45. #ifndef __IConfigAsfWriter_FWD_DEFINED__
  46. #define __IConfigAsfWriter_FWD_DEFINED__
  47. typedef interface IConfigAsfWriter IConfigAsfWriter;
  48. #endif     /* __IConfigAsfWriter_FWD_DEFINED__ */
  49.  
  50.  
  51. /* header files for imported files */
  52. #include "unknwn.h"
  53. #include "objidl.h"
  54. #include "strmif.h"
  55. #include "wmsdkidl.h"
  56.  
  57. #ifdef __cplusplus
  58. extern "C"{
  59. #endif 
  60.  
  61. void * __RPC_USER MIDL_user_allocate(size_t);
  62. void __RPC_USER MIDL_user_free( void * ); 
  63.  
  64. /* interface __MIDL_itf_dshowasf_0000 */
  65. /* [local] */ 
  66.  
  67. EXTERN_GUID( IID_IConfigAsfWriter,0x45086030,0xF7E4,0x486a,0xB5,0x04,0x82,0x6B,0xB5,0x79,0x2A,0x3B );
  68.  
  69.  
  70.  
  71.  
  72. extern RPC_IF_HANDLE __MIDL_itf_dshowasf_0000_v0_0_c_ifspec;
  73. extern RPC_IF_HANDLE __MIDL_itf_dshowasf_0000_v0_0_s_ifspec;
  74.  
  75. #ifndef __IConfigAsfWriter_INTERFACE_DEFINED__
  76. #define __IConfigAsfWriter_INTERFACE_DEFINED__
  77.  
  78. /* interface IConfigAsfWriter */
  79. /* [unique][uuid][object] */ 
  80.  
  81.  
  82. EXTERN_C const IID IID_IConfigAsfWriter;
  83.  
  84. #if defined(__cplusplus) && !defined(CINTERFACE)
  85.     
  86.     MIDL_INTERFACE("45086030-F7E4-486a-B504-826BB5792A3B")
  87.     IConfigAsfWriter : public IUnknown
  88.     {
  89.     public:
  90.         virtual HRESULT STDMETHODCALLTYPE ConfigureFilterUsingProfileId( 
  91.             /* [in] */ DWORD dwProfileId) = 0;
  92.         
  93.         virtual HRESULT STDMETHODCALLTYPE GetCurrentProfileId( 
  94.             /* [out] */ DWORD *pdwProfileId) = 0;
  95.         
  96.         virtual HRESULT STDMETHODCALLTYPE ConfigureFilterUsingProfileGuid( 
  97.             /* [in] */ REFGUID guidProfile) = 0;
  98.         
  99.         virtual HRESULT STDMETHODCALLTYPE GetCurrentProfileGuid( 
  100.             /* [out] */ GUID *pProfileGuid) = 0;
  101.         
  102.         virtual HRESULT STDMETHODCALLTYPE ConfigureFilterUsingProfile( 
  103.             /* [in] */ IWMProfile *pProfile) = 0;
  104.         
  105.         virtual HRESULT STDMETHODCALLTYPE GetCurrentProfile( 
  106.             /* [out] */ IWMProfile **ppProfile) = 0;
  107.         
  108.         virtual HRESULT STDMETHODCALLTYPE SetIndexMode( 
  109.             /* [in] */ BOOL bIndexFile) = 0;
  110.         
  111.         virtual HRESULT STDMETHODCALLTYPE GetIndexMode( 
  112.             /* [out] */ BOOL *pbIndexFile) = 0;
  113.         
  114.     };
  115.     
  116. #else     /* C style interface */
  117.  
  118.     typedef struct IConfigAsfWriterVtbl
  119.     {
  120.         BEGIN_INTERFACE
  121.         
  122.         HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
  123.             IConfigAsfWriter * This,
  124.             /* [in] */ REFIID riid,
  125.             /* [iid_is][out] */ void **ppvObject);
  126.         
  127.         ULONG ( STDMETHODCALLTYPE *AddRef )( 
  128.             IConfigAsfWriter * This);
  129.         
  130.         ULONG ( STDMETHODCALLTYPE *Release )( 
  131.             IConfigAsfWriter * This);
  132.         
  133.         HRESULT ( STDMETHODCALLTYPE *ConfigureFilterUsingProfileId )( 
  134.             IConfigAsfWriter * This,
  135.             /* [in] */ DWORD dwProfileId);
  136.         
  137.         HRESULT ( STDMETHODCALLTYPE *GetCurrentProfileId )( 
  138.             IConfigAsfWriter * This,
  139.             /* [out] */ DWORD *pdwProfileId);
  140.         
  141.         HRESULT ( STDMETHODCALLTYPE *ConfigureFilterUsingProfileGuid )( 
  142.             IConfigAsfWriter * This,
  143.             /* [in] */ REFGUID guidProfile);
  144.         
  145.         HRESULT ( STDMETHODCALLTYPE *GetCurrentProfileGuid )( 
  146.             IConfigAsfWriter * This,
  147.             /* [out] */ GUID *pProfileGuid);
  148.         
  149.         HRESULT ( STDMETHODCALLTYPE *ConfigureFilterUsingProfile )( 
  150.             IConfigAsfWriter * This,
  151.             /* [in] */ IWMProfile *pProfile);
  152.         
  153.         HRESULT ( STDMETHODCALLTYPE *GetCurrentProfile )( 
  154.             IConfigAsfWriter * This,
  155.             /* [out] */ IWMProfile **ppProfile);
  156.         
  157.         HRESULT ( STDMETHODCALLTYPE *SetIndexMode )( 
  158.             IConfigAsfWriter * This,
  159.             /* [in] */ BOOL bIndexFile);
  160.         
  161.         HRESULT ( STDMETHODCALLTYPE *GetIndexMode )( 
  162.             IConfigAsfWriter * This,
  163.             /* [out] */ BOOL *pbIndexFile);
  164.         
  165.         END_INTERFACE
  166.     } IConfigAsfWriterVtbl;
  167.  
  168.     interface IConfigAsfWriter
  169.     {
  170.         CONST_VTBL struct IConfigAsfWriterVtbl *lpVtbl;
  171.     };
  172.  
  173.     
  174.  
  175. #ifdef COBJMACROS
  176.  
  177.  
  178. #define IConfigAsfWriter_QueryInterface(This,riid,ppvObject)    \
  179.     (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  180.  
  181. #define IConfigAsfWriter_AddRef(This)    \
  182.     (This)->lpVtbl -> AddRef(This)
  183.  
  184. #define IConfigAsfWriter_Release(This)    \
  185.     (This)->lpVtbl -> Release(This)
  186.  
  187.  
  188. #define IConfigAsfWriter_ConfigureFilterUsingProfileId(This,dwProfileId)    \
  189.     (This)->lpVtbl -> ConfigureFilterUsingProfileId(This,dwProfileId)
  190.  
  191. #define IConfigAsfWriter_GetCurrentProfileId(This,pdwProfileId)    \
  192.     (This)->lpVtbl -> GetCurrentProfileId(This,pdwProfileId)
  193.  
  194. #define IConfigAsfWriter_ConfigureFilterUsingProfileGuid(This,guidProfile)    \
  195.     (This)->lpVtbl -> ConfigureFilterUsingProfileGuid(This,guidProfile)
  196.  
  197. #define IConfigAsfWriter_GetCurrentProfileGuid(This,pProfileGuid)    \
  198.     (This)->lpVtbl -> GetCurrentProfileGuid(This,pProfileGuid)
  199.  
  200. #define IConfigAsfWriter_ConfigureFilterUsingProfile(This,pProfile)    \
  201.     (This)->lpVtbl -> ConfigureFilterUsingProfile(This,pProfile)
  202.  
  203. #define IConfigAsfWriter_GetCurrentProfile(This,ppProfile)    \
  204.     (This)->lpVtbl -> GetCurrentProfile(This,ppProfile)
  205.  
  206. #define IConfigAsfWriter_SetIndexMode(This,bIndexFile)    \
  207.     (This)->lpVtbl -> SetIndexMode(This,bIndexFile)
  208.  
  209. #define IConfigAsfWriter_GetIndexMode(This,pbIndexFile)    \
  210.     (This)->lpVtbl -> GetIndexMode(This,pbIndexFile)
  211.  
  212. #endif /* COBJMACROS */
  213.  
  214.  
  215. #endif     /* C style interface */
  216.  
  217.  
  218.  
  219. HRESULT STDMETHODCALLTYPE IConfigAsfWriter_ConfigureFilterUsingProfileId_Proxy( 
  220.     IConfigAsfWriter * This,
  221.     /* [in] */ DWORD dwProfileId);
  222.  
  223.  
  224. void __RPC_STUB IConfigAsfWriter_ConfigureFilterUsingProfileId_Stub(
  225.     IRpcStubBuffer *This,
  226.     IRpcChannelBuffer *_pRpcChannelBuffer,
  227.     PRPC_MESSAGE _pRpcMessage,
  228.     DWORD *_pdwStubPhase);
  229.  
  230.  
  231. HRESULT STDMETHODCALLTYPE IConfigAsfWriter_GetCurrentProfileId_Proxy( 
  232.     IConfigAsfWriter * This,
  233.     /* [out] */ DWORD *pdwProfileId);
  234.  
  235.  
  236. void __RPC_STUB IConfigAsfWriter_GetCurrentProfileId_Stub(
  237.     IRpcStubBuffer *This,
  238.     IRpcChannelBuffer *_pRpcChannelBuffer,
  239.     PRPC_MESSAGE _pRpcMessage,
  240.     DWORD *_pdwStubPhase);
  241.  
  242.  
  243. HRESULT STDMETHODCALLTYPE IConfigAsfWriter_ConfigureFilterUsingProfileGuid_Proxy( 
  244.     IConfigAsfWriter * This,
  245.     /* [in] */ REFGUID guidProfile);
  246.  
  247.  
  248. void __RPC_STUB IConfigAsfWriter_ConfigureFilterUsingProfileGuid_Stub(
  249.     IRpcStubBuffer *This,
  250.     IRpcChannelBuffer *_pRpcChannelBuffer,
  251.     PRPC_MESSAGE _pRpcMessage,
  252.     DWORD *_pdwStubPhase);
  253.  
  254.  
  255. HRESULT STDMETHODCALLTYPE IConfigAsfWriter_GetCurrentProfileGuid_Proxy( 
  256.     IConfigAsfWriter * This,
  257.     /* [out] */ GUID *pProfileGuid);
  258.  
  259.  
  260. void __RPC_STUB IConfigAsfWriter_GetCurrentProfileGuid_Stub(
  261.     IRpcStubBuffer *This,
  262.     IRpcChannelBuffer *_pRpcChannelBuffer,
  263.     PRPC_MESSAGE _pRpcMessage,
  264.     DWORD *_pdwStubPhase);
  265.  
  266.  
  267. HRESULT STDMETHODCALLTYPE IConfigAsfWriter_ConfigureFilterUsingProfile_Proxy( 
  268.     IConfigAsfWriter * This,
  269.     /* [in] */ IWMProfile *pProfile);
  270.  
  271.  
  272. void __RPC_STUB IConfigAsfWriter_ConfigureFilterUsingProfile_Stub(
  273.     IRpcStubBuffer *This,
  274.     IRpcChannelBuffer *_pRpcChannelBuffer,
  275.     PRPC_MESSAGE _pRpcMessage,
  276.     DWORD *_pdwStubPhase);
  277.  
  278.  
  279. HRESULT STDMETHODCALLTYPE IConfigAsfWriter_GetCurrentProfile_Proxy( 
  280.     IConfigAsfWriter * This,
  281.     /* [out] */ IWMProfile **ppProfile);
  282.  
  283.  
  284. void __RPC_STUB IConfigAsfWriter_GetCurrentProfile_Stub(
  285.     IRpcStubBuffer *This,
  286.     IRpcChannelBuffer *_pRpcChannelBuffer,
  287.     PRPC_MESSAGE _pRpcMessage,
  288.     DWORD *_pdwStubPhase);
  289.  
  290.  
  291. HRESULT STDMETHODCALLTYPE IConfigAsfWriter_SetIndexMode_Proxy( 
  292.     IConfigAsfWriter * This,
  293.     /* [in] */ BOOL bIndexFile);
  294.  
  295.  
  296. void __RPC_STUB IConfigAsfWriter_SetIndexMode_Stub(
  297.     IRpcStubBuffer *This,
  298.     IRpcChannelBuffer *_pRpcChannelBuffer,
  299.     PRPC_MESSAGE _pRpcMessage,
  300.     DWORD *_pdwStubPhase);
  301.  
  302.  
  303. HRESULT STDMETHODCALLTYPE IConfigAsfWriter_GetIndexMode_Proxy( 
  304.     IConfigAsfWriter * This,
  305.     /* [out] */ BOOL *pbIndexFile);
  306.  
  307.  
  308. void __RPC_STUB IConfigAsfWriter_GetIndexMode_Stub(
  309.     IRpcStubBuffer *This,
  310.     IRpcChannelBuffer *_pRpcChannelBuffer,
  311.     PRPC_MESSAGE _pRpcMessage,
  312.     DWORD *_pdwStubPhase);
  313.  
  314.  
  315.  
  316. #endif     /* __IConfigAsfWriter_INTERFACE_DEFINED__ */
  317.  
  318.  
  319. /* Additional Prototypes for ALL interfaces */
  320.  
  321. /* end of Additional Prototypes */
  322.  
  323. #ifdef __cplusplus
  324. }
  325. #endif
  326.  
  327. #endif
  328.  
  329.  
  330.